package com.xbongbong.paas.gateway.config;

/**
 * 外链需要在网关上过一些特殊的校验常量
 * @author chenshan
 * @date 2020/8/7 9:44
 * @since v1.0
 * @version v1.0
 */
public class GatewayOuterConstant {

    /**
     * 不需要拦截的链接格式
     */
    /**
     * 外链所有接口：
     * /pro/v1/outerLink/aliyun/oss/getSignature
     * /pro/v1/outerLink/aliyun/oss/sts/getSignature
     * /pro/v1/outerLink/aliyun/oss/label/list
     * /pro/v1/outerLink/form/data/repeat
     * /pro/v1/outerLink/form/data/specificationHistory
     *
     * "/pro/v1/outerLink/addGet",
     *  "/pro/v1/outerLink/add",
     *   "/pro/v1/outerLink/get",
     *   "/pro/v1/outerLink/list",
     */
    public static final String[] OUTER_NO_FILTER_PATH_PREFIX = {
            "/pro/v1/outerLink/form/data/specificationHistory",
            "/pro/v1/outerLink/form/data/repeat",
            "/pro/v1/outerLink/aliyun/oss/getSignature",
            "/pro/v1/outerLink/aliyun/oss/sts/getSignature",
            "/pro/v1/outerLink/label/list",
            "/pro/v1/mobile/outerLink/aliyun/oss/sts/getSignature",
            "/pro/v1/mobile/outerLink/form/data/specificationHistory",
            "/pro/v1/mobile/outerLink/form/data/repeat",
            "/pro/v1/mobile/outerLink/aliyun/oss/getSignature",
            "/pro/v1/aliyunCallCenter/open/external/record/receiving",
            "/pro/v1/mobile/outerLink/label/list",
            "/pro/v1/outerLink/addGet",
            "/pro/v1/outerLink/add",
            "/pro/v1/outerLink/get",
            "/pro/v1/outerLink/list",
            "/pro/v1/mobile/outerLink/addGet",
            "/pro/v1/mobile/outerLink/add",
            "/pro/v1/mobile/outerLink/get",
            "/pro/v1/mobile/outerLink/list",
            // 工单项目外链
            "/pro/v1/workOrderV2/outerLink/aliyun/oss/getSignature",
            "/pro/v1/workOrderV2/outerLink/aliyun/oss/sts/getSignature",
            "/pro/v1/workOrderV2/outerLink/form/data/repeat",
            "/pro/v1/workOrderV2/outerLink/label/list",
            "/pro/v1/workOrderV2/outerLink/addGet",
            "/pro/v1/workOrderV2/outerLink/add",
            "/pro/v1/workOrderV2/outerLink/get",
            "/pro/v1/workOrderV2/outerLink/list",
            "/pro/v1/workOrderV2/mobile/outerLink/aliyun/oss/sts/getSignature",
            "/pro/v1/workOrderV2/mobile/outerLink/aliyun/oss/getSignature",
            "/pro/v1/workOrderV2/mobile/outerLink/form/data/repeat",
            "/pro/v1/workOrderV2/mobile/outerLink/addGet",
            "/pro/v1/workOrderV2/mobile/outerLink/add",
            "/pro/v1/workOrderV2/mobile/outerLink/get",
            "/pro/v1/workOrderV2/mobile/outerLink/list",
            "/pro/v1/workOrderV2/mobile/outerLink/label/list",
    };
}
